github.com/gotd/td/telegram.startOptions.lifetime (field)
6 uses
github.com/gotd/td/telegram (current package)
lifecycle.go#L72: lifetime context.Context
lifecycle.go#L94: o.lifetime = ctx
lifecycle.go#L143: o := startOptions{lifetime: context.WithoutCancel(ctx)}
lifecycle.go#L147: runCtx, cancel := context.WithCancel(o.lifetime)
lifecycle.go#L168: if lifeErr := o.lifetime.Err(); lifeErr != nil && errors.Is(err, lifeErr) {
lifecycle.go#L199: switch lifeErr := o.lifetime.Err(); {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |